﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using Tree.Configuration;

namespace Tree.Lifecycle
{
    /// <summary>
    /// Gives the Configure lifecycle to an object.
    /// </summary>
    public interface IConfigurable
    {
        /// <summary>
        /// Method to be called in the configuration phase (0).
        /// </summary>
        /// <param name="state">Configuration state object.</param>
        void Configure(ConfigurationState state);
    }
}
